package com.dream.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.net.URL;

@RestController
public class TestController {

    @RequestMapping("/test")
    public String test() {

        return "hello";
    }


    public URL[] findJar(URL url) {
        //先申明变量
        URL[] urls = null;

        //逻辑操作xxxx，最终获取到数据List或其他，

        if (urls != null) {
            //添加到urls的逻辑操作
            return urls;
        }
        return null;
    }

}
